package com.app.core.constant;

/**
 * 系统通用常量
 *
 * @author qiangt
 * @since 2022-11-11
 */
public interface Constants {
    /**
     * CURRENT_LOGIN_USER
     */
    String CURRENT_LOGIN_USER = "CURRENT_LOGIN_USER";

    /**
     * 链路追踪标记
     */
    String TRACE_KEY = "X-B3-TraceId";
    String TRACE_USER_ID_KEY = "x-user-id";

    /**
     * ROOT权限
     */
    String ADMIN_AUTHORITY = "ROLE_ADMIN";

    /**
     * 匿名权限
     */
    String ANONYMOUS_AUTHORITY = "ROLE_ANONYMOUS";
    /**
     * 默认的创建人
     */
    String DEFAULT_CREATOR = "ANONYMOUS";
    /**
     * 默认的创建人id
     */
    Long DEFAULT_CREATE_BY = 922337203685477L;

    /**
     * RSA加密私钥
     */
    String RSA_PRIVATE_KEY = "MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDReLx097U+jjo2XiMU92XLnUD4K/FWPzbRiHoRUgRSKHhg1MfCCZLKHYHIETTTl8QIXrRbFkZyqJabX40qTpGSJtXtUdgMN34A6w3sEZAClazfqSD8Ui9+wN0XyiTV/Gg4JIAXhr7KefxtCEdoNQ+DKOzp9BLYwq3Juf2mfq+Y8FM7dzoqcMA7MqZNUXCHY1UDSuCHVwFGoXWcsHwljekBSr/MHS+qxQJh0Eq4JWbavys50guMZIWtewD0eu43aSEhnSTiuFHCyj4V/mE8HUJp7LPSQa6RP9J2jpOXttrRcjuzdpDCfF3b3ep74ezwgFbKP3/xc0qsEGcuQCH3DyU9AgMBAAECggEADd8k+8n7oqzghgEt6ZGImDdNuiGO1dtR0gZrrwHzb01my2LL57mikufpVEpvaSO/w54h63ZKLAWmE5v8STTyxu7zc8fbutNh8MWgImX3V3R6AkW8/Xij1I0JFy43ykPw0ub35Jbzw4zYfo/xyqDY6iKnrcaQCPK7d4Rtm7z/++yvkbBtD6KpTny2cjf8NLV0l56rBe2mbT498LwqYyFh1evH6kUugpqA7lfg76UPS7iRM1vDnnfh3qEEwNlQZbLvkQ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